# coding:utf-8
import hashlib


def md5_encode(original_str):
    """
    md5加密
    :param original_str:
    :return:
    """
    m = hashlib.md5()
    m.update(original_str.encode(encoding='UTF-8'))
    return m.hexdigest()
